package com.yoki.cloud.common.model.enums;

/**
 * 文化程度：illiteracy：文盲或半文盲，primarySchool：小学<BR>
 * juniorHighSchool：初中，highSchool：高中<BR>
 * juniorCollege：中专，undergraduate：本科，masterDegree：硕士<BR>
 */
public enum EnumEducation implements AbstractEnum {

    illiteracy(0, "文盲或半文盲"),
    primarySchool(1, "小学"),
    juniorHighSchool(2, "初中"),
    highSchool(3, "高中"),
    juniorCollege(4, "大专"),
    undergraduate(5, "本科"),
    masterDegree(6, "硕士"),
    doctoralDegree(7, "博士");

    private int code;
    private String msg;

    EnumEducation(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
